body {
  padding: 0;
  margin: 0;
}
body div {
  margin: 0;
  padding: 0;
}

img {
  display: block;
}

.container {
  width: 100%;
  height: 100%;
  background-color: #fef3d5;
  display: flex;
  flex-direction: column;
}
.header {
  width: 100%;
  position: relative;
  display: block;
}

.header-img {
  width: 100%;
  display: block;
}

.video-position {
  position: absolute;
  width: 43.3vw;
  height: 69.5vw;
  top: 47.5vw;
  left: 50vw;
  transform: translateX(-50%);
}

.video-box {
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: relative;
}

.video-image {
  width: 100%;
  height: 100%;
}
.video-image img {
  width: 100%;
  height: 100%;
  border-radius: 5vw;
  object-fit: cover;
  background-color: #fff;
}

.video-btn {
  width: 16vw;
  height: 16vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

.bg {
  width: 100%;
  position: relative;
}
.bg img {
  width: 100%;
  display: block;
}

.btn1 {
  position: absolute;
  width: 30vw;
  top: 42vw;
  left: 12vw;

  z-index: 2;
}

.btn1 img {
  width: 100%;
}

.btn2 {
  position: absolute;
  width: 30vw;
  top: 42vw;
  left: 57vw;

  z-index: 2;
}

.btn2 img {
  width: 100%;
}

.note-to {
  position: absolute;
  width: 4vw;
  top: 48vw;
  right: 0vw;
  font-size: 4vw;
  color: #fff;
  line-height: 1.15;
  padding: 1.5vw 1vw;
  border-top-left-radius: 2vw;
  border-bottom-left-radius: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.download {
  position: absolute;
  width: 15vw;
  top: 89vw;
  right: 0vw;
  z-index: 3;
}

.download img {
  width: 100%;
}

.back {
  position: absolute;
  width: 15vw;
  top: 109vw;
  right: 0vw;
  z-index: 3;
}

.back img {
  width: 100%;
}

.input-box {
  width: 100%;
}

.input-position {
  position: absolute;
  width: 80vw;
  top: 63vw;
  left: 10vw;
  z-index: 2;
}

.input-phone {
  width: 100%;
  height: 10vw;
  background-color: #ffffff;
  border-radius: 1.5vw;
  border: 2px solid #e8e8e8;
  padding: 0 5vw;
  box-sizing: border-box;
  font-size: 4vw;
  color: #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  outline: none;
}

.input-phone:focus {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  transform: translateY(-1px);
}

.input-phone::placeholder {
  color: #999999;
  font-size: 3.5vw;
}

.input-phone:hover {
  border-color: #d0d0d0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.submit-box {
  margin-top: 4vw;
  width: 80vw;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

.submit-box img {
  width: 100%;
}

.tips {
  margin-top: 4vw;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tips-checkbox {
  width: 4vw;
  height: 4vw;
  margin-right: 2vw;
  position: relative;
  cursor: pointer;
}

.tips-checkbox input[type="checkbox"] {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  cursor: pointer;
  z-index: 2;
}

.tips-checkbox::before {
  content: "";
  width: 100%;
  height: 100%;
  border: 2px solid #ddd;
  border-radius: 0.8vw;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tips-checkbox input[type="checkbox"]:checked ~ .tips-checkbox::before,
.tips-checkbox:has(input[type="checkbox"]:checked)::before {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.tips-checkbox input[type="checkbox"]:checked ~ .tips-checkbox::after,
.tips-checkbox:has(input[type="checkbox"]:checked)::after {
  content: "✓";
  color: #fff;
  font-size: 2.5vw;
  font-weight: bold;
  position: absolute;
  top: 56%;
  left: 60%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 1;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: checkmark-appear 0.3s ease-out;
}

@keyframes checkmark-appear {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* 选中状态提示文本 */
.tips-checkbox-hint {
  position: absolute;
  top: -8vw;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1.5vw 3vw;
  border-radius: 2vw;
  font-size: 3vw;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.tips-checkbox-hint::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 1.5vw solid transparent;
  border-top-color: #667eea;
}

.tips-checkbox.checked .tips-checkbox-hint {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-0.5vw);
}

.tips-text {
  margin-left: 1vw;
  font-size: 4vw;
  color: #333333;
  line-height: 1.4;
}

/* Toast消息样式 */
.toast-message {
  position: fixed;
  top: 20vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 3vw 6vw;
  border-radius: 2vw;
  font-size: 4vw;
  font-weight: bold;
  color: #fff;
  z-index: 1000;
  animation: toast-slide-in 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toast-success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.toast-warning {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.toast-error {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.toast-info {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

@keyframes toast-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10vw);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 确认弹窗样式 */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.confirm-modal.show {
  opacity: 1;
  visibility: visible;
}

.confirm-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.confirm-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 400px;
  background: #fff;
  border-radius: 4vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: confirm-slide-up 0.3s ease-out;
}

.confirm-modal:not(.show) .confirm-body {
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
}

.confirm-content {
  padding: 6vw;
  text-align: center;
}

.confirm-header h3 {
  margin: 0 0 4vw 0;
  font-size: 5vw;
  font-weight: bold;
  color: #333;
}

.confirm-message p {
  margin: 0 0 6vw 0;
  font-size: 4vw;
  color: #666;
  line-height: 1.5;
}

.confirm-buttons {
  display: flex;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #ebd694 0%, #f55414 100%);
  border-radius: 5vw;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.confirm-btn {
  flex: 1;
  padding: 2.5vw 6vw;
  border: none;
  background: transparent;
  font-size: 4vw;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  color: #fff;
  position: relative;
}

.cancel-btn {
  border-top-left-radius: 2.5vw;
  border-bottom-left-radius: 2.5vw;
}

.cancel-btn::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.confirm-btn-primary {
  border-top-right-radius: 2.5vw;
  border-bottom-right-radius: 2.5vw;
}

.confirm-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.confirm-btn:active {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0.98);
}

@keyframes confirm-slide-up {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.note {
  width: 100%;
}

.note-img {
  width: 100%;
  display: block;
}

.phone {
  width: 100%;
  position: relative;
  height: 18vw;
  background-color: #B3F1FF;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.phone-img {
  width: 90%;
}

.video-bg {
  width: 100%;
  position: relative;
}

.video-bg img {
  width: 100%;
}

.video-content {
  position: absolute;
  width: 80vw;
  top: 32vw;
  left: 10vw;
}

.video-list {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3vw;
  padding: 2vw;
  position: relative;
}

.video-list .video-item {
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3vw;
}

.video-item .video-box {
  width: 100%;
  height: 50vw;
  position: relative;
  /* border-radius: 2vw; */
  overflow: hidden;
  border-radius: 0;
}

.video-item .video-cover {
  width: 100%;
  height: 100%;
}

.video-item .video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  width: 16vw;
  height: 16vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
}

.video-play img {
  width: 100%;
  height: 100%;
}

.video-set {
  width: 30vw;
  margin-top: 3vw;
  cursor: pointer;
}

.video-set img {
  width: 100%;
}

.audio-bg {
  width: 100%;
  position: relative;
}

.audio-bg img {
  width: 100%;
}

.audio-content {
  position: absolute;
  width: 80vw;
  top: 28vw;
  left: 10vw;
}

.audio-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.audio-item {
  width: 100%;
  height: 10vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 0;
  border-bottom: 1px solid #ececec;
}
.music-number {
  font-size: 4vw;
  font-weight: bold;
  color: #ff6b6b;
  margin-right: 1vw;
  min-width: 6vw;
}
.audio-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audio-name {
  font-size: 4vw;
  color: #333;
  font-weight: bold;
  margin-bottom: 1vw;
}

.audio-author {
  font-size: 3vw;
  color: #666;
}

.audio-play {
  margin-right: 3vw;
  width: 8vw;
  cursor: pointer;
}

.audio-play img {
  width: 100%;
}

/* Toast消息样式 */
.toast-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 9999;
  font-size: 14px;
  animation: fadeInOut 3s ease-in-out;
  max-width: 80%;
  text-align: center;
}

/* 不同类型的toast样式 */
.toast-success {
  background: rgba(40, 167, 69, 0.9) !important;
}

.toast-error {
  background: rgba(220, 53, 69, 0.9) !important;
}

.toast-warning {
  background: rgba(255, 193, 7, 0.9) !important;
  color: #000 !important;
}

.toast-info {
  background: rgba(23, 162, 184, 0.9) !important;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }
  10%,
  90% {
    opacity: 1;
  }
}

/* 成功弹窗样式 */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.success-body {
  position: relative;
  background: url("../img/success-bg2.png") no-repeat;
  background-size: 100% 100%;
  width: 100vw;
  height: 100vh;
}

.success-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-buttons {
  margin-top: 46vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 80%;
}

.success-btn {
  margin-top: 8vw;
  width: 100%;
}
.success-phone {
  margin-top: 8vw;
  width: 100%;
}
.success-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.success-btn:active {
  transform: translateY(0);
}

.success-btn img {
  width: 100%;
}

.success-phone img {
  width: 100%;
}

.success-close {
  margin-left: 35vw;
  width: 8vw;
  height: 8vw;
  display: flex;
  align-content: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 4vw;
  cursor: pointer;
  transition: background 0.3s ease;
  color: #fff;
  font-size: 5vw;
}

.success-close:hover {
  background: #bbb;
}

.success-close img {
  width: 100%;
  height: 100%;
}
/* 视频弹窗样式 */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-modal-header {
  position: absolute;
  top: 8vw;
  left: 6vw;
  z-index: 10010;
}

.video-back-btn {
  width: 8vw;
  height: 8vw;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-back-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal-body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
}

.video-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-call-image {
  width: 50%;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.video-player {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  z-index: 10000;
}

.video-element {
  width: 100%;
  height: auto;
  border-radius: 3vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-set-btn {
  position: absolute;
  bottom: 15vw;
  left: 15vw;
  /* transform: translateX(-50%); */
  width: 70vw;
  height: 20vw;
  cursor: pointer;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-set-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-play2 {
  position: absolute;
  width: 16vw;
  height: 16vw;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  cursor: pointer;
}

.video-play2 img {
  width: 100%;
  height: 100%;
}

/* 登录弹窗 */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.login-modal.show {
  display: flex;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}
.login-body {
  position: absolute;
  width: 90vw;
  height: 100vw;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1001;
  background: url("../img/page2/login-bg.png") no-repeat center center;
  background-size: cover;
}

.login-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.login-header {
  width: 100%;
  height: 20vw;
}

.login-close {
  position: absolute;
  top: 0vw;
  right: 1vw;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1002;
}

.login-close img {
  width: 100%;
  height: 100%;
}

.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 20px 0;
}

.login-form {
  padding-top: 3vw;
  width: 70vw;
  margin-left: 10vw;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.phone-input,
.code-input {
  width: 100%;
  height: 12vw;
  border: 1px solid #ddd;
  border-radius: 2vw;
  padding: 0 3vw;
  font-size: 4vw;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s ease;
}

.phone-input:focus,
.code-input:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.get-code-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.get-code-btn:hover {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.05);
}

.login-btn {
  width: calc(100% - 60px);
  height: 50px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin: 20px 30px;
  transition: all 0.3s ease;
}

.login-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.agreement {
  padding: 0 30px 30px 30px;
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.agreement-checkbox {
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.agreement a {
  color: #ff6b6b;
  text-decoration: none;
}

.agreement a:hover {
  text-decoration: underline;
}
